package com.bitrate.dagger.gateway.cros;

import lombok.Data;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 跨域规则动态配置
 */
@Data
@ConfigurationProperties(prefix = "cros")
public class CorsProperties {

	private String requestMethod = "*";

	private String allowMethods = "*";

	private Long maxAge = 3600L;

	private String allowHeaders = "*";

	private Boolean allowCredentials = true;

}